import argparse
from argparse import Namespace


class Command:
    MIGRATE = 'migrate'


class CommandHelper:
    __parser = None

    def __init__(self):
        self.__parser = argparse.ArgumentParser(description='< Welcome Use Quick Test Migrate >')

    def add_arguments(self, args_name: str, _type: object, _help: str = '') -> argparse.ArgumentParser:
        self.__parser.add_argument(args_name, type=_type, help=_help)
        return self.__parser

    def parse_args(self) -> Namespace:
        return self.__parser.parse_args()


